<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/common.jsp" %>
<div id="sidebar_s">
	<div class="collapse">
		<div class="toggleCollapse">
			<div></div>
		</div>
	</div>
</div>
<div id="sidebar">
	<!-- 侧边菜单 -->
	<div class="toggleCollapse">
		<h2>主菜单</h2>
		<div>收缩</div>
	</div>

	<div class="accordion" fillSpace="sidebar">
		<!-- 滑动面板 -->
		<s:iterator value="modules" var="m">
			<div class="accordionHeader">
				<h2>
					<span>Folder</span>${m.name }
				</h2>
			</div>
			<div class="accordionContent">
					<ul class="tree treeFolder">
				<s:iterator value="#m.children" var="cm" >
					<li><span>${cm.name }</span>
						<ul>
							<s:iterator value="#cm.children" var="ccm">
								<li><a href="${ccm.url }" target="${ccm.target != null ? ccm.target : 'navTab' }" 
									${ccm.params } rel="${ccm.sn }" >${ccm.name }</a>
								</li>
							</s:iterator>
						</ul>
					</li>
				</s:iterator>
				</ul>
			</div>
			
		</s:iterator>

		<div class="accordionHeader">
			<h2 class="collapsable">
				<span>Folder</span>系统模块
			</h2>
		</div>
		<div class="accordionContent" style="display: block; height: 504px; ">
			<ul class="tree treeFolder">
				<li>
						<a>模块管理</a>
					
					<ul>
						<li><a href="admin/module!input" target="dialog"
									rel="module_add" width=400 height=400>添加模块</a>
						</li>
						<li class="last">
								<a href="admin/module.action" target="navTab"
									rel="module_list">查询模块</a>
						</li>
					</ul>
				</li>
				<li class="last">
						<a href="admin/file!list" target="navTab"
							rel="file_list" external=false >文件管理</a>
				</li>
				<li class="last">
						<a href="/yujing2/Pub/admin/System/index" target="navTab"
							rel="system">系统设置</a>
				</li>
			</ul>
		</div>
	</div>
</div>